Skip to content

[TBDGen] NFC: print duplicate symbol name before assertion.#32649

Merged
dan-zheng merged 1 commit intoswiftlang:masterfrom
dan-zheng:tbdgen-debug
Jul 5, 2020
Merged

[TBDGen] NFC: print duplicate symbol name before assertion.#32649
dan-zheng merged 1 commit intoswiftlang:masterfrom
dan-zheng:tbdgen-debug

Conversation

@dan-zheng
Copy link
Contributor

This facilitates debugging.

Example:

TBDGen duplicate symbol: _$s4main5ClassC6methodyS2fFTq
Assertion failed: (false && "TBDGen symbol appears twice"), function addSymbolInternal, file swift/lib/TBDGen/TBDGen.cpp, line 76.

@dan-zheng
Copy link
Contributor Author

@swift-ci Please smoke test

@dan-zheng
Copy link
Contributor Author

I don't believe this is controversial. Merging now.

@dan-zheng dan-zheng merged commit 7b54e8b into swiftlang:master Jul 5, 2020
@dan-zheng dan-zheng deleted the tbdgen-debug branch July 5, 2020 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant